<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:o="http://openfaces.org/"
	xmlns:s="http://jboss.com/products/seam/taglib"
	template="/WEB-INF/esquema/permitTemplate.xhtml">

	<ui:define name="mainControls">
		<h:outputText value="#{messages['txt.options']}" />
		<h:outputText value="   " />
		<o:commandButton rendered="#{buildingPermitHelper.buildingLayers.size() gt 0}" value="#{messages['permit.admin_analysis']} >>" onclick="endDataIntro();"/>
	</ui:define>

	<ui:define name="title">
		<div align="center">
			<br/>
			<strong>#{messages['building_permit.start_header']}</strong>
			<rich:separator lineType="solid"/>
			<br/>
		</div>
	</ui:define>
	
	<ui:define name="permitBody">
		<style type="text/css">
			.introCol1 {
				vertical-align:top;
				width:30%;
			}
			.introCol2 {
				vertical-align:top;
				width:70%;
			}
		</style>

		<h:form>
			<div align="center">
				<ui:include src="includes/inputInitialData.xhtml" />
			</div>
			
			<br />
			
			<a4j:jsFunction
				name="endDataIntro"
				action="#{buildingPermitHelper.gotoAdminAnalysis}">
			</a4j:jsFunction>
		</h:form>
	</ui:define>
</ui:composition>
